<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="google" content="notranslate" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" href="/favicon.ico" />
    <link rel="stylesheet" href="/app-loading.css" />
    <title>橡塑软管产线可视化</title>
    <!-- <script type="text/javascript" src="http://api.tianditu.gov.cn/api?v=4.0&tk=3e4da6a806a5ce73561770a1f7ed750b"></script> -->

  </head>
  <body>
    <div id="app">
      <div id="app-loading"></div>
    </div>
    <script>
      "object" != typeof ue && (ue = {}),
        (uuidv4 = function () {
          return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, function (t) {
            return (t ^ (crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (t / 4)))).toString(16)
          })
        }),
        (ue5 = (function (r) {
          return "object" != typeof ue.interface || "function" != typeof ue.interface.broadcast
            ? ((ue.interface = {}),
              function (t, e, n, o) {
                var u, i
                "string" == typeof t &&
                  ("function" == typeof e && ((o = n), (n = e), (e = null)),
                  (u = [t, "", r(n, o)]),
                  void 0 !== e && (u[1] = e),
                  (i = encodeURIComponent(JSON.stringify(u))))
              })
            : // function (t, e, n, o) {
              //   var u, i
              //   "string" == typeof t &&
              //     ("function" == typeof e && ((o = n), (n = e), (e = null)),
              //     (u = [t, "", r(n, o)]),
              //     void 0 !== e && (u[1] = e),
              //     (i = encodeURIComponent(JSON.stringify(u))),
              //     "object" == typeof history && "function" == typeof history.pushState
              //       ? (history.pushState({}, "", "#" + i), history.pushState({}, "", "#" + encodeURIComponent("")))
              //       : ((document.location.hash = i), (document.location.hash = encodeURIComponent(""))))
              // })
              ((i = ue.interface),
              (ue.interface = {}),
              function (t, e, n, o) {
                var u
                "string" == typeof t &&
                  ("function" == typeof e && ((o = n), (n = e), (e = null)),
                  (u = r(n, o)),
                  void 0 !== e ? i.broadcast(t, JSON.stringify(e), u) : i.broadcast(t, "", u))
              })
          var i
        })(function (t, e) {
          if ("function" != typeof t) return ""
          var n = uuidv4()
          return (
            (ue.interface[n] = t),
            setTimeout(
              function () {
                delete ue.interface[n]
              },
              1e3 * Math.max(1, parseInt(e) || 0)
            ),
            n
          )
        }))
    </script>
    <!-- <script>
      const getBodyZoom = function () {
        const w = document.documentElement.getBoundingClientRect().width
        const h = document.documentElement.getBoundingClientRect().height
        const maxWidth = 1920
        const maxHeight = 1080
        let zoom = 1
        if (h > w - 400) {
          zoom = w / maxWidth
        } else {
          zoom = h / maxHeight
          if (w / h > 3 && w / maxWidth > 2) {
            zoom += 0.1
          }
        }
        return zoom
      }
      window.onload = () => {
        const appBody = document.body
        appBody.style.zoom = getBodyZoom()
        window.addEventListener(
          "resize",
          function () {
            appBody.style.zoom = getBodyZoom()
          },
          false
        )
      }
    </script> -->
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
